CreativeMail\Managers\CheckoutManager D

Total Complexity 135
Dependencies 14
Dependents 1
Total lines 966
Lines of code 609
Logical lines of code 339
Comment lines 208
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
order_completed_trigger_wc_hook()
C
26
18 157
save_checkout_data()
B
39 19 59
get_cart_data_for_endpoint()
B
35 16 82
recover_products()
A
48 9 34
add_hooks()
S
48 6 30
cleanup_old_checkouts()
S
53 6 23
update_checkout()
S
53 6 21
no_consent_checkout()
S
54 6 19
maybe_capture_guest_checkout()
S
55 5 19
clear_purchased_data()
S
59 5 14
maybe_recover_checkout_email()
S
63 5 9
ce4wp_remote_post()
S
54 3 22
recover_checkout()
S
57 3 17
ce4wp_remote_delete()
S
60 2 15
save_or_clear_checkout_data()
S
74 2 5
get_checkout_contents()
S
68 2 7
get_checkout_recovery_date()
S
73 2 4
get_checkout_uuid_by_user()
S
73 2 4
get_opt_out()
S
69 2 7
get_opt_in()
S
69 2 7
enqueue_scripts()
S
67 2 7
get_opt_in_checkbox_value()
S
71 2 6
add_email_usage_notice_field()
S
64 2 8
add_order_completed_wc_hooks()
S
78 1 3
return_to_shop()
S
77 1 4
get_opt_action_by()
S
82 1 3
update_checkout_data()
S
82 1 3
order_completed()
S
76 1 4
order_processed()
S
80 1 3
ce4wp_filter_checkout_fields()
S
63 1 10
get_checkout_uuid_by_email()
S
78 1 3